package com.company;

import java.util.ArrayList;
import java.util.List;

public class Main {

    public static void main(String[] args) {
	// write your code here
        List<String> list =new ArrayList<>();
        list.add("圣龙");
        list.add("画师");
        list.add("大陆");
        list.add("天玄");
        method(list);
        method1(list);
    }
    public static void method(List<String> s){
        for (String s1:s){
            System.out.println(s1);
        }
    }
    public static void method1(List<String> list){
        list.add(2,"王者");
        System.out.println(list);
    }
}
